package com.sanyou.springcloud.starter;

import com.sanyou.springcloud.ribbon.RibbonDefaultConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.ribbon.RibbonClients;

/**
 * 启动引导类
 *
 * @author zhuoziyang
 * @date 2022/1/30 14:45
 */
@SpringBootApplication
@EnableDiscoveryClient
@RibbonClients(defaultConfiguration = RibbonDefaultConfiguration.class)
public class DemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(DemoApplication.class, args);
    }

}
